package com.hjm.project.download.domain;

import com.hjm.framework.aspectj.lang.annotation.Excel;
import com.hjm.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * app下载记录对象 download
 * 
 * @author generator
 * @date 2020-11-26
 */
public class Download extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 下载地址 */
    @Excel(name = "下载地址")
    private String url;

    /** 下载数量 */
    @Excel(name = "下载数量")
    private Long nums;

    /** 项目类型 */
    @Excel(name = "项目类型")
    private Long type;

    /** 类型 */
    @Excel(name = "类型")
    private Long sysMark;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }
    public void setNums(Long nums)
    {
        this.nums = nums;
    }

    public Long getNums()
    {
        return nums;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }
    public void setSysMark(Long sysMark)
    {
        this.sysMark = sysMark;
    }

    public Long getSysMark()
    {
        return sysMark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("url", getUrl())
            .append("nums", getNums())
            .append("type", getType())
            .append("sysMark", getSysMark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
